From: Jan Beulich Date: Thu, 12 Nov 2015 15:59:18 +0000 (+0100) Subject: x86/HVM: don't inject #DB with error code X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2281 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=057e0e72d2a5d598087c5f167ec6a13203a3cf65;p=xen.git x86/HVM: don't inject #DB with error code Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index 4490e9de3f..2074a41294 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -4132,7 +4132,7 @@ void hvm_task_switch( goto out; if ( (tss.trace & 1) && !exn_raised ) - hvm_inject_hw_exception(TRAP_debug, tss_sel & 0xfff8); + hvm_inject_hw_exception(TRAP_debug, HVM_DELIVER_NO_ERROR_CODE); tr.attr.fields.type = 0xb; /* busy 32-bit tss */ hvm_set_segment_register(v, x86_seg_tr, &tr);